Page({
  data: {},

  onReturnToHome() {
    wx.switchTab({
      url: '/pages/home/home',
    });
  },

  // 返回键逻辑
  onBack() {
    wx.navigateBack();
  },
});